import request from '@/utils/request.js'
//课程列表查询
export const equipmentListService = (params) =>{
    return request.get('/admin/equipment/page',{params:params})
} 
//添加课程
export const addEquipmentService = (equipmentForm)=>{
    return request.post('/admin/equipment',equipmentForm)
}
//修改课程
export const updateEquipmentService = (equipmentForm)=>{
    return request.put('/admin/equipment',equipmentForm)
}
//删除课程
export const deleteEquipmentService = (id)=>{
    return request.delete('/admin/equipment/'+id)
}